# /bin/sh
version=$1
echo "********creat version*****${version}"

echo '********creat file*****'
mkdir ${version}_linuxControllerHmi
mkdir ${version}_linuxControllerHmi/trunk
mkdir ${version}_linuxControllerHmi/trunk/instruction
mkdir ${version}_linuxControllerHmi/trunk/tool

echo '********copy photo*****'
cp -r ../*sources ./${version}_linuxControllerHmi/trunk
cp -r ../*Res ./${version}_linuxControllerHmi/trunk

cp -r ../instruction/*Res ./${version}_linuxControllerHmi/trunk/instruction

echo '********copy hmi*****'
cp -r ../hmiController ./${version}_linuxControllerHmi/trunk
cp -r ../ros ./${version}_linuxControllerHmi/trunk
cp init.sh heart.sh ./${version}_linuxControllerHmi/trunk/tool

echo '********end************'
